#!/usr/bin/ruby
require 'Qt4'
require '/usr/share/hzvirt/hzvault_main'
#todo tester la presence du module et arreter l'execution si impossibilité de loader le module
IO.popen("modprobe vboxdrv")
app = Qt::Application.new(ARGV)

$widget = HZVaultMain.new()
$widget.show()

app.exec()
